package com.example.ppts;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.ImageButton;

public class PrimeraElec extends Activity {
	ImageButton imgButton;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_segunda_pantalla);
		Bundle intent = getIntent().getExtras();
		if(intent.containsKey("spock")){
			imgButton = (ImageButton)findViewById(R.id.spock);
		}
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.primera_elec, menu);
		return true;
	}

}
